Imports System.Web
Imports System.ServiceModel

Namespace DotNetNuke.Modules.IWebCF
    Public Class IWebMethodAttribute
        Inherits Attribute

        Public Enum MethodSecurityLevels
            Host = 0
            Administrator = 1
            Registerd = 2
            Subscribers = 3
            Anonymous = 4
        End Enum

        Private _Company As String
        Private _Application As String
        Private _Group1 As String
        Private _Group2 As String
        Private _Name As String
        Private _Description As String

        Private _DefaultSecuritySetting As MethodSecurityLevels

        Public Property Application() As String
            Get
                Return _Application
            End Get
            Set(ByVal value As String)
                _Application = value
            End Set
        End Property
        Public Property Company() As String
            Get
                Return _Company
            End Get
            Set(ByVal value As String)
                _Company = value
            End Set
        End Property

        Public Property DefaultSecuritySetting() As MethodSecurityLevels
            Get
                Return _DefaultSecuritySetting
            End Get
            Set(ByVal value As MethodSecurityLevels)
                _DefaultSecuritySetting = value
            End Set
        End Property

        Public Property Description() As String
            Get
                Return _Description
            End Get
            Set(ByVal value As String)
                _Description = value
            End Set
        End Property

        Public Property Group1() As String
            Get
                Return _Group1
            End Get
            Set(ByVal value As String)
                _Group1 = value
            End Set
        End Property

        Public Property Group2() As String
            Get
                Return _Group2
            End Get
            Set(ByVal value As String)
                _Group2 = value
            End Set
        End Property

        Public Property Name() As String
            Get
                Return _Name
            End Get
            Set(ByVal value As String)
                _Name = value
            End Set
        End Property


    End Class
End Namespace
